﻿<?php $this->beginContent('//layouts/main'); ?>

<style type="text/css">

    #warning span{
        color:red;
    }
</style>
<script>
 $(document).ready(function(){
 	$(".active").find("a").css("color","#007DBB");
 	$(".active").parents(".dir").css("color","#007DBB");
 })
</script>
<div class="container">
    <div class="row">
    	<div class="col-md-3">
	        <?php
            echo "<span style='font-size:20px; margin-left: 10px; color:#007DBB'></span>";
            $this->widget('ext.emenu.EMenu', array(
                'theme' => 'default',
                'vertical' => true,
                'items' => array(

                    array(
                        'label' => 'Category Management',
                        'url' => array('/Category/admin'),
                        'visible' => (Yii::app()->user->getIsSuperuser() == 1),
                    ),
					array(
                        'label' => 'Ideality Management',
                        'url' => array('/Ideality/admin'),
                        'visible' => (Yii::app()->user->getIsSuperuser() == 1),
                    ),
                    array(
                        'label' => 'Transaction Management',
                        'url' => array('/Transaction/admin'),
                        'visible' => (Yii::app()->user->getIsSuperuser() == 1),
                    ),
                    array(
                        'label' => 'User Management',
                        'url' => array('/user/admin'),
                        'visible' => (Yii::app()->user->getIsSuperuser() == 1),
                    ),
                    array(
                        'label' => 'Message Management',
                        'url' => array('/message/admin'),
                        'visible' => (Yii::app()->user->getIsSuperuser() == 1),
                    ),

                ),));
	        ?>

		</div>
	    <div class="col-md-9">

		        <?php echo $content; ?>
		 </div>
</div>
<?php $this->endContent(); ?>


